package com.platform.dao;

import com.platform.entity.GoodsEntity;

import java.util.List;
import java.util.Map;

/**
 * Dao
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-21 21:19:49
 */
public interface GoodsDao extends BaseDao<GoodsEntity> {

    Integer queryMaxId();

    GoodsEntity queryByName(String name);

    List<GoodsEntity> queryAgentList(Map<String, Object> map);

    int queryAgentTotal(Map<String, Object> map);

    List<GoodsEntity> queryByAgentGoodsId(Map<String, Object> map);
}
